
#include "S_9_Maintenance_doChange.h"
#include "property_decoder.h"
#include "spec.h"

void P_9_1_Clean_doChange(const char * newValue)
{
	property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));

	property_value_new_string(&thiz,newValue);
	
	if (send_property_changed(9,1, &thiz) != MIIO_OK)
    {
       LOG_INFO("%s:send_property_changed failed!\n",__func__);
    }
	
}


void P_9_2_Examine_doChange(const char * newValue)
{
	property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));

	property_value_new_string(&thiz,newValue);
	
	if (send_property_changed(9,2, &thiz) != MIIO_OK)
    {
       LOG_INFO("%s:send_property_changed failed!\n",__func__);
    }
	
}

void P_9_3_Error_doChange(const char * newValue)
{
    property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));

	property_value_new_string(&thiz,newValue);
	
	if (send_property_changed(9,3, &thiz) != MIIO_OK)
    {
       LOG_INFO("%s:send_property_changed failed!\n",__func__);
    }
}

void P_9_5_RunningDuration_doChange(float newValue)
{
	property_value_t thiz;
    memset(&thiz,0,sizeof(thiz));

	property_value_new_float(&thiz,newValue);
	
	if (send_property_changed(9,5, &thiz) != MIIO_OK)
    {
       LOG_INFO("%s:send_property_changed failed!\n",__func__);
    }
	
}
